package ver04;
import ver04.Bullet;


public class dispararBalas implements shootingStrategy {
	public void fire(int x, int y){
		Invaders inv = Invaders.getInstance();
		Bullet b = new Bullet();
	   	b.setX(x);
	   	b.setY(y - b.getHeight());
	   	inv.addArmamento(b);
	   	inv.getSoundCache().playSound("missile.wav");
	}
}
